package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IRespostaEnqueteDao;
import br.com.news.database.entities.RespostaEnqueteEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.RespostaEnqueteBean;
import br.com.news.utils.database.interfaces.IRespostaEnqueteService;

@Named
public class RespostaEnqueteService extends GenericService<RespostaEnqueteBean, RespostaEnqueteEntity, Long> implements IRespostaEnqueteService{

	@Inject
	private IRespostaEnqueteDao respostaEnqueteDao;

	@Override
	protected IGenericDao<RespostaEnqueteEntity, Long> getConcreteDao() {
		return this.respostaEnqueteDao;
	}

}
